import request from './request.js';

//第一栏接口
export function getReportData() {
  return request({
    method: 'get',
    url: '/reportdata',
  });
}

//第二栏接口
export function getSalesData() {
  return request({
    method: 'get',
    url: '/saledata',
  });
}

//第三栏左边接口
export const getKeyWordsData = () => {
  return request({
    method: 'get',
    url: '/keyworddata',
  });
};

//第三栏右边接口
export const getCategoryData = () => {
  return request({
    url: '/categorydata',
    method: 'get',
  });
};

//第四栏接口
export const getMapData = () => {
  return request({
    method: 'get',
    url: '/mapdata',
  });
};
